trycmd 0.13.7

Snapshot testing for a herd of CLI tests
Documentation

trycmd

Treat your tests like cattle, instead of pets

Documentation License Crates Status

trycmd is a test harness that will enumerate test case files and run them to verify the results, taking inspiration from trybuild and cram.

Example

Here's a trivial example:

#[test]
fn cli_tests() {
    trycmd::TestCases::new()
        .case("tests/cmd/*.trycmd");
}

See the docs for more.

Users

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.